<template>
  <div class="tab">
    <router-link tag="div" to="map">map</router-link>
    <router-link tag="div" to="other">other</router-link>
  </div>
</template>

<style lang="scss" scoped>
.tab {
  height: 44px;
  display: flex;
  flex-shrink: 0;
  background: #eee;
  > div {
    width: 100px;
    line-height: 44px;
    display: flex;
    justify-content: center;
    cursor: pointer;
    &:hover {
      color: #09f;
      background: #e0e0e0;
    }
  }
}
</style>